package com.liry.security.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * (Permission)表实体类
 *
 * @author ALI
 * @since 2023-06-16 22:06:12
 */
@Data
@TableName("sys_permission")
public class Permission implements Serializable {
    private static final long serialVersionUID = -75286747771905311L;

    /** 主键 */
    @TableField("id")
    private Integer id;

    /** 权限名 */
    @TableField("name")
    private String name;

    /** 权限名 */
    @TableField("code")
    private String code;

    /** 角色id */
    @TableField("role_id")
    private Integer roleId;

}

